/*
 * XML Type:  RecurringInterCancellationResponse
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.RecurringInterCancellationResponse
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML RecurringInterCancellationResponse(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class RecurringInterCancellationResponseImpl extends net.ofx.types.x2003.x04.impl.AbstractRecurringInterResponseImpl implements net.ofx.types.x2003.x04.RecurringInterCancellationResponse
{
    
    public RecurringInterCancellationResponseImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CANPENDING$0 = 
        new javax.xml.namespace.QName("", "CANPENDING");
    
    
    /**
     * Gets the "CANPENDING" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getCANPENDING()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CANPENDING$0, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "CANPENDING" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetCANPENDING()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(CANPENDING$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "CANPENDING" element
     */
    public void setCANPENDING(net.ofx.types.x2003.x04.BooleanType.Enum canpending)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CANPENDING$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CANPENDING$0);
            }
            target.setEnumValue(canpending);
        }
    }
    
    /**
     * Sets (as xml) the "CANPENDING" element
     */
    public void xsetCANPENDING(net.ofx.types.x2003.x04.BooleanType canpending)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(CANPENDING$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(CANPENDING$0);
            }
            target.set(canpending);
        }
    }
}
